package com.example.authserver.feign;

import com.example.authserver.vo.UserLoginVo;
import com.example.authserver.vo.UserRegisterVo;
import com.example.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("gulimall-member")
public interface MemberFeignService {
    @PostMapping("/member/member/register")
    public R register(UserRegisterVo registerVo);
    @PostMapping("/member/member/login")
    public R login(@RequestBody UserLoginVo vo);
}
